﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020012E3 RID: 4835
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SyncRogueAdventureRoomInfoScNotify : IMessage<SyncRogueAdventureRoomInfoScNotify>, IMessage, IEquatable<SyncRogueAdventureRoomInfoScNotify>, IDeepCloneable<SyncRogueAdventureRoomInfoScNotify>, IBufferMessage
	{
		// Token: 0x17003D12 RID: 15634
		// (get) Token: 0x0600D882 RID: 55426 RVA: 0x00244A53 File Offset: 0x00242C53
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SyncRogueAdventureRoomInfoScNotify> Parser
		{
			get
			{
				return SyncRogueAdventureRoomInfoScNotify._parser;
			}
		}

		// Token: 0x17003D13 RID: 15635
		// (get) Token: 0x0600D883 RID: 55427 RVA: 0x00244A5A File Offset: 0x00242C5A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SyncRogueAdventureRoomInfoScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003D14 RID: 15636
		// (get) Token: 0x0600D884 RID: 55428 RVA: 0x00244A6C File Offset: 0x00242C6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SyncRogueAdventureRoomInfoScNotify.Descriptor;
			}
		}

		// Token: 0x0600D885 RID: 55429 RVA: 0x00244A73 File Offset: 0x00242C73
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SyncRogueAdventureRoomInfoScNotify()
		{
		}

		// Token: 0x0600D886 RID: 55430 RVA: 0x00244A7B File Offset: 0x00242C7B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SyncRogueAdventureRoomInfoScNotify(SyncRogueAdventureRoomInfoScNotify other) : this()
		{
			this.adventureRoomInfo_ = ((other.adventureRoomInfo_ != null) ? other.adventureRoomInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D887 RID: 55431 RVA: 0x00244AB0 File Offset: 0x00242CB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SyncRogueAdventureRoomInfoScNotify Clone()
		{
			return new SyncRogueAdventureRoomInfoScNotify(this);
		}

		// Token: 0x17003D15 RID: 15637
		// (get) Token: 0x0600D888 RID: 55432 RVA: 0x00244AB8 File Offset: 0x00242CB8
		// (set) Token: 0x0600D889 RID: 55433 RVA: 0x00244AC0 File Offset: 0x00242CC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AdventureRoomInfo AdventureRoomInfo
		{
			get
			{
				return this.adventureRoomInfo_;
			}
			set
			{
				this.adventureRoomInfo_ = value;
			}
		}

		// Token: 0x0600D88A RID: 55434 RVA: 0x00244AC9 File Offset: 0x00242CC9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SyncRogueAdventureRoomInfoScNotify);
		}

		// Token: 0x0600D88B RID: 55435 RVA: 0x00244AD7 File Offset: 0x00242CD7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SyncRogueAdventureRoomInfoScNotify other)
		{
			return other != null && (other == this || (object.Equals(this.AdventureRoomInfo, other.AdventureRoomInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600D88C RID: 55436 RVA: 0x00244B0C File Offset: 0x00242D0C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.adventureRoomInfo_ != null)
			{
				num ^= this.AdventureRoomInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D88D RID: 55437 RVA: 0x00244B48 File Offset: 0x00242D48
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D88E RID: 55438 RVA: 0x00244B50 File Offset: 0x00242D50
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D88F RID: 55439 RVA: 0x00244B59 File Offset: 0x00242D59
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.adventureRoomInfo_ != null)
			{
				output.WriteRawTag(66);
				output.WriteMessage(this.AdventureRoomInfo);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D890 RID: 55440 RVA: 0x00244B8C File Offset: 0x00242D8C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.adventureRoomInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.AdventureRoomInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D891 RID: 55441 RVA: 0x00244BCC File Offset: 0x00242DCC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SyncRogueAdventureRoomInfoScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.adventureRoomInfo_ != null)
			{
				if (this.adventureRoomInfo_ == null)
				{
					this.AdventureRoomInfo = new AdventureRoomInfo();
				}
				this.AdventureRoomInfo.MergeFrom(other.AdventureRoomInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D892 RID: 55442 RVA: 0x00244C20 File Offset: 0x00242E20
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D893 RID: 55443 RVA: 0x00244C2C File Offset: 0x00242E2C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 66U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.adventureRoomInfo_ == null)
					{
						this.AdventureRoomInfo = new AdventureRoomInfo();
					}
					input.ReadMessage(this.AdventureRoomInfo);
				}
			}
		}

		// Token: 0x0400563A RID: 22074
		private static readonly MessageParser<SyncRogueAdventureRoomInfoScNotify> _parser = new MessageParser<SyncRogueAdventureRoomInfoScNotify>(() => new SyncRogueAdventureRoomInfoScNotify());

		// Token: 0x0400563B RID: 22075
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400563C RID: 22076
		public const int AdventureRoomInfoFieldNumber = 8;

		// Token: 0x0400563D RID: 22077
		private AdventureRoomInfo adventureRoomInfo_;
	}
}
